<?php
namespace Common\Models;
use Common\BaseModel;
class BShopGoodsSku extends BaseModel
{
    public $res;
    public $expire;

    public function initialize()
    {
        parent::initialize();
        $this->setSource('b_shop_goods_sku');
    }

    public function find_first_sku($id){
        $get_one = $this->findFirst(array(
            "conditions"=>"id={$id}"
        ));
        return $get_one;
    }

}
